[package]
name = "rss_reader_bot"
version = "0.1.0"
authors = ["Orin Serimon <orin220444@protonmail.com>"]
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.38"
# opml = "1.1.5"
serde = { version = "1.0", features = ["derive"] }
atom_syndication = { version = "0.12.0", path = "../../atom" }
rss = { version = "2", path = "../../rss" }
chrono = { version = "0.4.23", features = ["serde"] }
serde_json = "1.0.93"
tokio-stream = "0.1.14"
regex = "1.10.2"
tracing = "0.1.37"
tracing-subscriber = "0.3"
uuid = { version = "1.10.0", features = ["serde", "v4"] }
[dependencies.derive_more]
version = "1.0.0"
features = ["from_str"]
#futures = "0.3.30"
[dependencies.sqlx]
version = "0.7"
features = ["runtime-tokio-rustls", "uuid", "chrono", "postgres"]
[dependencies.reqwest]
version = "0.11.2"
default-features = false
features = ["rustls-tls"]
[dependencies.tokio]
version = "1.25.0"
features = ["macros", "rt-multi-thread", "time", "io-util", "tracing"]
[dependencies.matrix-sdk]
version = "0.7"
git = "https://github.com/matrix-org/matrix-rust-sdk"
default-features = false
features = [
    "anyhow",
    "e2e-encryption",
    # "image-proc", "image-rayon",
    "markdown",
    "sqlite",
    "rustls-tls",
]

[build]
rustflags = ["--cfg", "tokio_unstable"]

[profile.release]
lto = "thin"
strip = true
codegen-units = 1
opt-level = "s"
